package com.wh.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 公共Controller
 *
 * @author wanghao
 * @create 2018-11-08 下午9:09
 **/
@Controller
@RequestMapping("/common")
public class CommonController {

    @RequestMapping("/test")
    @ResponseBody
    public String test(){
        return "hello";
    }

}
